# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Tari)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Tari_SRCS tariplugin.cpp tari.cpp)
QT4_WRAP_CPP(Tari_SRCS tariplugin.h tari.h)
QT4_WRAP_UI(Tari_SRCS tari.ui)
QT4_ADD_RESOURCES(Tari_SRCS tari.qrc)

add_library(Tari SHARED ${Tari_SRCS})
add_dependencies(Tari KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Tari KontAMabil ${QT_LIBRARIES})

install(TARGETS Tari ${INSTALL_PLUGINS_DEFAULT_ARGS})
